import request from '@/utils/request'

// 查询低压空气压缩机工作状态记录列表
export function listLowcompressor(query) {
  return request({
    url: '/productionProcess/lowcompressor/list',
    method: 'get',
    params: query
  })
}

// 查询低压空气压缩机工作状态记录详细
export function getLowcompressor(id) {
  return request({
    url: '/productionProcess/lowcompressor/' + id,
    method: 'get'
  })
}

// 新增低压空气压缩机工作状态记录
export function addLowcompressor(data) {
  return request({
    url: '/productionProcess/lowcompressor',
    method: 'post',
    data: data
  })
}

// 修改低压空气压缩机工作状态记录
export function updateLowcompressor(data) {
  return request({
    url: '/productionProcess/lowcompressor',
    method: 'put',
    data: data
  })
}
export function checkLowcompressor(data) {
  return request({
    url: '/productionProcess/lowcompressor/check',
    method: 'put',
    data: data
  })
}
// 删除低压空气压缩机工作状态记录
export function delLowcompressor(id) {
  return request({
    url: '/productionProcess/lowcompressor/' + id,
    method: 'delete'
  })
}
